package com.dearbinge.data.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dearbinge.data.pojo.withdrawDeposit.WithdrawDeposit;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface WithdrawDepositMapper {
    Integer update(WithdrawDeposit withdrawDeposit);

    Integer insert(WithdrawDeposit withdrawDeposit);

    Integer delete(Integer id);

    Integer count(String userId);

    List<WithdrawDeposit> getByPage(String userId, Page<WithdrawDeposit> page);
}
